#include <stdio.h>
#include <time.h>

int main(int argc, char **argv)
{
/*
32位下结果:
char:1
int:4
long:4
float:4
double:8
long double:12
pointer:4
time_t:4
------------------------------------
64位下结果:
char:1
int:4
long:8
float:4
double:8
long double:16
pointer:8
time_t:8
*/
    int a = 10;
    int *pa = &a;


	printf("char:%d\n", sizeof(char)); 
	printf("int:%d\n", sizeof(int)); 
	printf("long:%d\n", sizeof(long));
	printf("float:%d\n", sizeof(float));
	printf("double:%d\n", sizeof(double));
	printf("long double:%d\n", sizeof(long double));

	printf("pointer:%d\n", sizeof(pa));
	printf("time_t:%d\n", sizeof(time_t));

	return 0;
}
